implementation of gettumordetails.r