implemented removing blocks