move old codes to oldcode