adding code and data