adding alert to check