get last element of the list using trampoline