erasing implemented