A model for cooperation between humans and intelligent systems