patterns engine on / off