prv: prev so it has same length as curr. code aligns better.