worker.rb: automata completed miss a couple of helper methods and a lot of methods in the job