moved function back out