Reflactor tasks to commonTaks