use append instead of pushback