Created our own task scheduler