add signal check