added FG to database