docs updated to new functions