trampoline now works for toList() and fromList()