Corrected typo in MyAgent