adds comments
removes str concatenation for performance
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>