removed locals helper