Agent classes and methods created (not working)