Added sample analysis