fixed append errors, done.Next time need to combine code so I keep it DRY