rename typeCast -> typecast, gotta love case insensitivity