performing optimizations for scrutinizer