added variable declaration