added retrieving data