defining a way to get gff records