temporary line clean implementation