doing test for k equal 1