made fields line up with database