clean up, fix, error from start are solved. coordinates determine is working