rest support completed! :)