implementing dictionary & list model type