built the run code