updated example application