added new version of the listwrapper class