pruned for deprecation warnings