adding first codes