Update #1

changed the class call and struct definition