removing superfluous stuff