refactory simple dnd