adding code to blockmgr page