Working version of behavioral task.