change proc calls to method method