scheme integrated also in main