improved implode