added k parametr