replaced _ with $$ for private variables