fixing Void, adding logging