add new option to define speed of generators