added demo for reem, minor fixes