add code and data