seperated routes/applications functions