fixed coordinates now starts (0,0) at bottom left