hooking into new database table