2-path programming