Created equation and alert