Added bool type to task