updating as per rewivew : adding final and getting the class logger