Removing useless variable