loading tasks from DB and stlying