typecasting outputs