modifies order