changed rule, added test