Dealing with linedisplay