removing call to asanyarray