supporting multiple lines