Replaced old unneccesary variable