removed unneeded code.