sample problem func change