took attributes out of routes