added variable declarations