closer to starting loc condition added