tutorial stuff and cursor update