changes p style
refactored routes