set keys to array