Handling and splitting of input data