Almost there! added in ternary function.
Added in use for anonymous function.