wrapped all vars in quotes for correctness