alertion & validation