rename second scala solution