Make it possible to choose a trapez generator