create default scheduler
i need to rewrite this