Completed simple validation