added cookbook for R in bm