Added local variable scoping to 'me' and 'options'