basic function of proc parsing and dynamic button creation for puzzle complete