save position and allow checking from outside