moving clearScreen to a better spot