improved application construction