everything working and optimized