remove call to split and use explode