improved speed of append