removed useless variable