the open() success hander now receives a third parameter - the database object itself