remane function