added in location features, and checks for submission of order