added autodate and some goodies