chage onopen spec use spy