some improvements to app