updated samples.lua