cleaned all code.