adding sleep to job example