remove useless method and stub out method