removed superfluous variable