first version of removing blocks