Just moved this function up here.