fg feature added.