adding wait notify example