This method is too long, we should split in smaller methods, less than 15 lines of code