added answer for REST