improved database, improved homework table