Optimizations and slider