removing non critical instructions