details changes

added functionality to details