Added logging
Fixed deprecation
Fixed deprecation