Useless print statements removed.