added example code, changed name etc.