--
only
Function: adverb
b : with nevertheless the final outcome or result <won a great deal, only to lose it all later on>
http://unabridged.merriam-webster.com
----------
Did I use it correctly in my original example?
Not necessarily, but it could. What is shows is that the alternative showed up with much less effort and a bit of chance.
Marius Hancu much less effort and a bit of chance