use append instead of nconc