DRYed up the level loading