[hw11] sampling