moment diagram works