patch passes tests