Add comments trying to clarify a bit the objetive of each function