implemented reversed reading, getLiveData and getData