added block insertion