added struct for fg proc