added functionality for Agency