adding terminal paths