removing useless method