remove smelly function