refactoring to aspects (LoggingAspect)