added better getters for x/y