removing unused bits fo code.