added date plugin removed unneeded code.