now need to handle routes