New task executing logic