Finished switch-function for Raidlayouts