removed unnecessary code
added more logging
translated more messages