added a AMRF Demo changes