clening & outputs