missing code for example generation
bring back import
fix import
improved conditions