require and alert