clarified explode code