example: improve example for REST