Add some code comments

Signed-off-by: betalphafai <edward-lk@hotmail.com>