checking what toState.url logs