added sample param