mostly removing use of deprecated features in Julia