added getters to object for drawing