remove intermediary var