added second attempt of wrapper, using native