Breaking inline code into functions, contd.