added fromkeys and clear to dictionary