changed longwave boolean to false