removed unnecesary variable