Making new reloadData function