can you make these ifs all single lined (i.e. simply remove the newline). They take up such much space for such tiny operation…