cleaning the some unused functions