added variable k values to sim