adding more validations and alerts
Good start with no validations