timestamps must be int/long