Added parallel status check. Removed resursion.