Complete main tasks
removed unreal tasks
normalized code