A method and system are disclosed for determining a task for a subject, which includes sensing electrical activity along a scalp of a subject characterizing a mental state of the subject based on the electrical activity of the subject comparing the mental state of the subject with a pre-defined task list to select a task for the subject based on the mental state of the subject and assigning the task to the subject based on the comparison of the mental state of the subject and the pre-defined task list.