removed unneccesary variable