Added Alert functionality