Typecasting the for the future (to fix warnings)