Combining new line and comma implementation