database set, models need a little tweaking