upload previous code