unnecessary typecast