added new method that allows passing of timestamp into event