added co-wait to associated libraries