cleaned up wiggle code
got logging capabilities implemented sorta right