variables must be decraled in private section