added draw method and getters