adding some REST features