added read,allocate and free block,and addblock