almost finish photo_app, not yet working cannot read property of undefined