make implsPending a global