added dateconverter to functions