work on cc and text input fields