be consistent takes keys as a vector everywhere