Re-ordering function parameters