k = 0 corrected