drafted wrapping function for multi_k