build the code