refactor $FWD variable