Change db_funct to database