changed type control to include union