Add `fg`

now support compund function