added nextStep for linux/macos