useless variable removed