location and clean up