coding dojo: side conditions