use a function and not a var to increase debug usefullnes