updated controller with chord_id