added interactive example