added lua types function, boolean, nil