Working on fixing appendN
Removed extra code
Move a couple other functions over to appendN
Figured out the linq expression for #139