Debug print statements removed.