remove duplicate method declaration