Added debugged output