generator support for smile, sad smile, set background and led blocks