remove unnecessary variable declaration
completed hw 1.5