change to restmad