simplify unchecked constructor