Since the return value of each of these conditions is `potential_move`, let's move that outside of the if statement.