rule2
all 3 rules, but not working that great