fixed params creation
removed old method
minor
finished addreferencedetails