Revert "Revert "getAllData work now (2)""

This reverts commit 2192ba3ac16d997052c44473ddf1c3d6377a9fa7.