Corrected binding and added dmg