improve app performance and code readability