dictionary implemented