finished if/then. loops later