removed stuff that has been commented out
ignoring latex byproducts