how to create timestamps defaulting to now