remove unuseful functions