new class on snake generator action