finished if/else