change timestamp to time, since timestamp is a reserved word.