set speed method added, equation needs to be generated again