more typecasting