troublesome code removed