set k to 2