modified production for database