complete rewrite the thumb generation and storage