Accepted Ernest's new functions/tweaked documentation