designing chord class