added delicious foreach_block function and params helpers