Added sample formation search