remove unnecessary functions and add new feature function