keys now stored in an array