Software of 'stefan hats'