Purpose of promissory note with collateral agreement