added blocks to behaviors