typecasting to ulong