adding data and code