update to new logframe code