A method to use the OCC model in agents