added timestamp and renamed print