added variable definitions