hair functionality