before implement line erasing