Re-added soh code