updated to work with new symmetric code