dag player and unwise function

dag player and unwise function