remove unnecsesary variable