removed another unnecessary variable