upload basic codes