removed double declaration of methods