useless methods are removed