payment and terms of agreement