Adding variable scope