added example for spyder