add critical path solution