3.1 compatibility