testing and save order