Methods of detecting exoplanets