add checkSign method