formatting and routes