do getTimeStamp() inside method