terrible bug in coordinates, can be negative