added setters and getters for object