init dict with dictionary instead of new