Thumb generation and cleaning