Added comment for functions where it was not crystal clear

Signed-off-by: Lasconik <caillouxnicolas@gmail.com>