works on 10.0+

Signed-off-by: Barry Allard <barry.allard@gmail.com>