added factory methods to Cron