added printdat.php