creating associative array for controls