add comment about lambda
correct app initialization