added onBlockActivated for future use