improve routes file