works but crashes
before struct changes, too many fruits causes crash