build and clean code