added new class RestCheck to avoid dependencies conflict