renamed restchecker method