bug fix: if the create_loop method is used then execution remains solely within the loop until it finishes or is terminated