code dump till persist service method