r17 compatibility