added print statements and fixed file size