changes to selection dag