logged explode function