perhaps collapse into one if line