implement private method check