you probably want to use a regex to make this more readable.