add typecasting to match the result type