added labels to the models and fixed some max_lengths