add previous code and data