added linear call and input to json