displayed structure definition
removed unnecessary comments
print task fixed
documentation added