delete some function