refactor, remove useless method