commented out code for pattern storage

use at your own risk