updated FG, but not working yet