Make definition of k **immediately** before first using