this should work the same as before for the data coming fromt the db