make variables local