tidying up linein