Changed typecast