modified old methods definition, added new methods definition.