Moved case 'spl' to a seperate file