attributes panel and optimizations