added more logging to the execute method