modernized example application