remove function returning