remaining fn working