first codes for backup