Adding conditional and iteration.