rewrite to REST Edition ;)