Added functions for one-time prep work