version for 3.8 compatibility