sample analysis