This is a straight copy of the method above it with the coordinate handling changed.