switching the documentation order to match the function order