Explanation in human-agent teamwork