try to use arrayFirst