some steps in REST