remove debug log
rename to routeWhenReady
forms sort of working