silencing implicit cast warnings