simple script-like solution. the only tough part is knowing when to stop checking!