implemented setters and getters