added straight line agent