adding control type to controls