Changed new objects to method calls