working on adding rules