scope variable replacement :D