Just added some logging information and prints