added agent forward check