document 5 is deprecated