GUARANTY and security agreement