add predicate to indicate socket type
staging