adding functionality for handling all forms being loaded at the same time