adding rest support