eliminated the need for constructor parameters