Now you can add an function to get data by callback