database and handler section