working on displaydetails