remove duplicate declaration of method