it is used to curl hair