return several values from lua.
getMode method
keep alive in rec mode