added agent & clearing house functionality