added comments + small fixes