ignore deprecated-declarations warning