one of the last tasks from the gotour, old code