getting coords right