Rearranged order of arguments so booleans are at the end of argument list. Changed  to accept  from  as that didn't make sense.
Rearranged order of arguments so booleans are at end of argument array.