converted API-obscuring explode statements