added some rules and planned functions