add loader for waiting