oops - file adds
output fix
logic cleanup