use extend instead of append for multiple on the same line