begin to deal with dictionary