solving type ui