Make a few variables local