changed how code is sent to split