added getter for timestamp