change in interface. add logger and notificator