better handling of inserting NULL into a list
check that n > 1 else don't loop