made id the primary key