started implementing mem block