"do" functions signature changes to sort parameters, fixes