implement static patches
implement line transforms