Added option for timestamp so that transaction can be given specific timestamps not just now().