updated example to include a thesis version check