started adding rules (validation)