added example to work with 5.9.0 and 5.9.1