added mothed for removing allocated blocks