Symmetric bar functions completed, code works fine