3rd step migration to ionic