v4.1.3 simplified and streamlined program flow