comment out unused typecast method