moved append and appendAll to base trait