moved coordinate entry code to a seperate package