Use single variable instead of Object.Keys