changed 'add' to 'addSample'