deprecated should produce warn