; outside func