Line creation improved