homework5 with new linked tables and edit ability