final code 4 and 4 working on native and all 3 APIs now working.