got find free block function working