retriveData method for elegant data get / store