added lab3 rules