Port processing to new framework