Added path cost and the rest of 1.1