this version compiles after putting logger for every component