added data retrieving