removed ivy code