added message logic so that a message can't be read unless you're within 200 meters