clear up code.