removing unused text variable