renamed model and table to make more sense