added console log for route