Added feature for multiple lines