using convert(DataFrame) instead of depreciated syntax