initial version of the wrapper