add check signature method