added speed command, changed course implementation