add signature check lib