code in posts view optimized