added recordPosition.py