dynamically adds new line with same style