added goal c sample for reference