removed omitted print statements