some simple changes that speed up the app significantly