working on iOS integration