added getTime()