added a routine to check for symmetry wooo