Shelley beats Bonneville 41-40 in thriller