make method definition syntax consistent