refactoring: removed argument name from initialisation of logger since the logger will only be initialized once