docs: function(newmode, option) {
                  // setters
                  if (newmode === "variable" || newmode === "semifixed") {
                      mode = newmode;
                      if (option) maxTimestep = option;
                      Crafty.trigger("NewSteptype", {
                          mode: mode,
                          maxTimeStep: maxTimestep
                      });
                  } else if (newmode === "fixed") {
                      mode = "fixed";
                      if (option) maxFramesPerStep = option;
                      Crafty.trigger("NewSteptype", {
                          mode: mode,
                          maxTimeStep: maxFramesPerStep
                      });
                  } else if (newmode !== undefined) {
                      throw "Invalid step type specified";
                      // getter
                  } else {
                      return {
                          mode: mode,
                          maxTimeStep:
                              mode === "variable" || mode === "semifixed"
                                  ? maxTimestep
                                  : maxFramesPerStep
                      };
                  }
              }