started adding route functions