changed logger to private static final