set up wrapper