first app now wrapped in a function
wrapped in a function now
function