adding ivy and logging