stripped out unwanted code