agent build for issue#4