removed unnecessary dependencies
added logging