reworked coorinate system