added bits to ionic