Can now load data from sql