removed typecasting