Change form of retrieving data