rewrite using decorator, add bonus, add sleep time, add log file