added UseCurrentTime option