Limit on function variables on "runned" function