Move a couple other functions over to appendN