add sample to schedule_work
fix coding style