making changes to get data