debugged up to appendnslice
done w/ LL, but should stil clean up code later