How to use Function BLock