after altering the detail part a little