modified createAssertion to call saveAssertion