adding the spli code