made more variables global