added new beta loading function