replace deprecated split-function with the explode-function