trying to make loading threads faster and more responsive for the user