check whether method already exists; close #53