removed extra var keyword