fix analysis error adding samples
adding samples implemented