deprecating sample