logger added, wrapper class variable initiation style changed