Need to finish setting up passing data to global