Updates on LookingAheadorBehind.py