so something like:
if min == nil then
 --do this
end