getting rid of setters and using constructors only