proof of concept for patch builder