remove reference to getAgent. not used. dont thing its necessary