changed way code is sent to split