loading in sequence with checks, cleaned up some code