Implementing line and text