Modify details to use a hash