Added debuging and files