refactored cron a bit