quick and dirty fix of x > k (4.)