changed logger to be static