Draft of scheme generation