example: add generation and scaling