fixed print statements and tabs