adding all codes