Agency and the self model