added fredapi examples