adding graphite / snapdragon optimizations