remove unnecessary variable
add comment