Added pause location checking