made deprecation warning a loggin statement