changed syntax of method assignments