Done with getting data code