Added rest handler