trying a typecast on the initializer list