removed a useless method.