order function adding