more rest support. not yet ready. more testing for sequence