had to reorder a couple functions AND restyilng cc input modal