added names to variables