add some missing 3.2 functions
add 3.3 feature detection