change fetchKeys method to keys