Added multitasking support for two tasks ;)