adapted REST style architecture