update: trimming out useless code + more comments

Signed-off-by: Stephen L. <lrq3000@gmail.com>