closer to finishing database, name and serial assignments still to be made