added example code for the new SimpleComponent interface