add sourcing of k