trying to figure out a good way to store patches