add code to write gt only features for testing