too many changes, testing rest sdk (fixed and customized 1.2)