use typecast