added comment
fixed warning of returning local scope variable