removed extra var declare