now the coord. system starts at the bottom left corner