foreach compatible version of deathstar