loop closing test1