updated sample17