added name to method contract. and other stuff