attempt/pseudocode for simbicon