added version 2/3 for iOS/Android