added variable utility functions to agent class
?