apparently there was a useless variable