clear a lot of code.