preperations for saving chord to api