updated approach slightly for building gffs.