formating and adding mor info to detail